package com.itcast.java.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 谷粒商城 - 优惠券服务 主启动类
 *
 * @author hrz
 */
@EnableFeignClients(basePackages = "com.itcast.java.coupon.feign")
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan(basePackages = "com.itcast.java.coupon.mapper")
public class GulimallCouponApplication
{
    public static void main( String[] args )
    {
        SpringApplication.run(GulimallCouponApplication.class, args);
    }
}
